package com.jy.datapipeline.export.service;

import com.jy.datapipeline.export.entity.ExpTaskExecuteLogModel;
import com.jy.datapipeline.export.entity.ExpTaskModel;

import java.util.List;
import java.util.Map;

public interface ExpTaskExecuteLogService {
    public List<ExpTaskExecuteLogModel> findByTaskIdAndStatus(String taskId,int status);

    public List<ExpTaskExecuteLogModel> findByTaskId(String taskId);

    public List<Map<String,Object>> findExpTaskExecuteLogByList(String taskId,int iDisplayStart,int iDisplayLength,String stataus);

    public int findExpTaskExecuteLogByCount(String taskId,String stataus);

    public boolean deleteByTaskId(String taskId);

    public  ExpTaskExecuteLogModel startTaskExeucte(ExpTaskModel etm);

    public void executeTask(ExpTaskModel etm,ExpTaskExecuteLogModel etelm);

    public  boolean updateExeuceStatus(String taskExecuteId,int status,int sumCount,String verifyPath,String message);
    public List<ExpTaskExecuteLogModel> findByStatus(int status);

    public boolean deleteByTaskExecutelogId(String taskExecutelogId);
}
